<!--
  Generated template for the UserPage page.

  See http://ionicframework.com/docs/components/#navigation for more info on
  Ionic pages and navigation.
-->
<ion-header>

  <ion-navbar>
    <ion-title>个人资料</ion-title>
  </ion-navbar>

</ion-header>


<ion-content>
  
      <ion-list class="marginTop" [navPush]="HeadfacePage">
        <button ion-item>
          <ion-avatar item-left>
          <img src="{{headface}}">
          </ion-avatar>
          <h2>修改头像</h2>
        </button>
      </ion-list>

      <ion-list>
        <ion-item >
          <ion-label >修改昵称</ion-label>
          <ion-input type="text" [(ngModel)]="nickname"></ion-input>
       </ion-item>
      </ion-list>
 

  <div padding text-center>
    <button ion-button block color="primary" (click)="updateNickName()">保存</button>
  </div>
  <div padding text-center>
    <button ion-button block color="danger" (click)="outLogin()" >注销</button>
  </div>

</ion-content>
